package models

type Saying struct {
	Model
	ID         uint   `gorm:"primary_key" json:"id"`
	UserId     uint   `json:"user_id"`
	Content    string `json:"content"`
	IsApproved int8   `json:"is_approved"`
	IsBanned   int8   `json:"is_banned"`
}

func (saying *Saying) TableName() string {
	return "saying"
}
